package b4;

public class EqualsDemo {
    public static void main(String[] args) {
        String s1 = "123";
        String s2 = "abc123";
        String s3 = s2.substring(3);
        System.out.println("s1 = " + s1);
        System.out.println("s3 = " + s3);
        System.out.println("s1 == s3: " + s1 == s3);
        System.out.println("s1.equals(s3): " + s1.equals(s3));
    }
}
